//自发光材质，顶点着色器使用DefaultMesh.vert

#version 460
#extension GL_ARB_separate_shader_objects : enable
#extension GL_ARB_shading_language_420pack : enable

layout (location = 0) in vec3 inNormal;
layout (location = 1) in vec2 inUV;
layout (location = 2) in vec3 inWorldPos;
layout (location = 3) in float inCameraNearPlane;
layout (location = 4) in float inCameraFarPlane;

layout (location = 0) out vec4 outColor;


void main() 
{ 
    outColor = vec4(1.0, 0.0, 0.0,0.5);
}